<%-- 
    Document   : login
    Created on : 01/11/2012, 09:06:51
    Author     : Fellipe de Souza
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <jsp:include page="cabecalho.html" flush="true" />
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            Cookie cookies[] = request.getCookies();
            String tamanho = "8";
            if (cookies != null) {
                for (int i = 0; i < cookies.length; i++) {
                    if (cookies[i].getName().equals("fontSize")) {
                        tamanho = cookies[i].getValue(); 
                    }
                }
            }
        %>
        
        <font size="<%=tamanho%>">
        <form method="POST" action="menu.jsp">
           <p> Por favor, forneça as informações abaixo solicitadas </p>
           <table>
               <tr>
                   <jsp:include page="calendario.jsp" flush="true" />
               </tr>
               <tr> 
                    <td> Como quer ser chamado: </td> 
                    <td> <INPUT TYPE=TEXT NAME = "identifica"> </td> 
                </tr> 
                
                <tr> 
                    <td> Login: </td> 
                    <td> <INPUT TYPE=TEXT NAME = "Login"> </td> 
                </tr> 
                <tr> 
                    <td> Senha: </td> 
                    <td> <INPUT TYPE=PASSWORD NAME = "Senha"> </td> 
                </tr>
           </table>
           <p>
               <input type=submit value="Entrar"> 
               <input type=reset value="Limpar">
               <input type="hidden" name="cmd" value="trataLogin">
           </p>
          
        </form>
    </body>
</html>
